﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bottom.aspx.cs" Inherits="MyOA.UI.button" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="CSS/bottom.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="down">
        <div id="down_left">西湖中心第一小组开发</div>
        <div id="down_right">日期：<span id="datetime"></span></div>
   </div>
    </form>
    
    <script type="text/javascript">
        var now=new Date();
		var year=now.getYear();
		var month=now.getMonth()+1;
		var date=now.getDate();
		var day=now.getDay();

		var week;
		if(day==0)
		{
			week="星期天";
		}
		else if(day==1)
		{
			week="星期一";
		}
		else if(day==2)
		{
			week="星期二";
		}
		else if(day==3)
		{
			week="星期三";
		}
		else if(day==4)
		{
			week="星期四";
		}
		else if(day==5)
		{
			week="星期五";
		}
		else if(day==6)
		{
			week="星期六";
		}
		 var value=year+"年"+month+"月"+date+"日&nbsp;&nbsp;"+week;	
		  document.getElementById("datetime").innerHTML=value;	
    </script>
</body>
</html>
